/* =====================================================================
   Christoph Ziegler – styles.css
   Teil 1: Bootstrap-4-Kompatibilität (Optik wie Bootstrap 4.6 unter Bootstrap 5)
   Teil 2: Seiten-Styles (bisher style.css)
   ===================================================================== */

/* ---------- Teil 1: Bootstrap-4-Kompatibilität (bisher bs4-compat.css) ---------- */

/* =====================================================================
   bs4-compat.css – Bootstrap 5 so einstellen, dass die Seite aussieht wie mit Bootstrap 4.6
   (wird direkt nach bootstrap5.min.css geladen; eigene CSS-Dateien folgen danach)
   ===================================================================== */

/* Raster: Bootstrap 4 hatte 30 px Spaltenabstand, Bootstrap 5 hat 24 px */
.row { --bs-gutter-x: 30px; }
.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl { --bs-gutter-x: 30px; }

/* Container: Bootstrap 5 wird ab 1400 px breiter (1320 px) – Bootstrap 4 blieb bei 1140 px */
@media (min-width: 1400px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { max-width: 1140px; }
}

/* Links: Bootstrap 5 unterstreicht immer, Bootstrap 4 nur beim Darüberfahren */
a { color: #007bff; text-decoration: none; }
a:hover { color: #0056b3; text-decoration: underline; }

/* Überschriften: Bootstrap 5 rechnet die Größe abhängig von der Bildschirmbreite – Bootstrap 4 fest */
h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

/* Trennlinie wie Bootstrap 4 */
hr { opacity: 1; border: 0; border-top: 1px solid rgba(0,0,0,.1); color: inherit; }

/* Schließen-Kreuz: .close gibt es in Bootstrap 5 nicht mehr – Aussehen von Bootstrap 4 */
.close { float: right; font-size: 1.5rem; font-weight: 700; line-height: 1; color: #000; text-shadow: 0 1px 0 #fff; opacity: .5; }
.close:hover { color: #000; text-decoration: none; }
.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus { opacity: .75; }
button.close { padding: 0; background-color: transparent; border: 0; }
.modal-header .close { padding: 1rem 1rem; margin: -1rem -1rem -1rem auto; }

/* Modal: Ecken, Abstände und Ebenen wie Bootstrap 4 */
.modal { --bs-modal-border-radius: .3rem; --bs-modal-inner-border-radius: calc(.3rem - 1px); --bs-modal-header-padding: 1rem 1rem; --bs-modal-zindex: 1050; }
.modal-backdrop { --bs-backdrop-zindex: 1040; }
.modal-header { align-items: flex-start; }
.modal-title { line-height: 1.5; }

/* Formulare: .form-group gibt es in Bootstrap 5 nicht mehr */
.form-group { margin-bottom: 1rem; }
label { display: inline-block; margin-bottom: .5rem; }

/* Spalten: Bootstrap 4 begrenzte jede Spalte zusätzlich mit max-width – wichtig zusammen mit .flex-fill */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 576px) {
  .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 1200px) {
  .col-xl-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-xl-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
  .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-xl-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
  .col-xl-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
  .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-xl-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Spalten-Innenabstand: Bootstrap 4 gab jeder Spalte 15 px – auch außerhalb einer .row */
:where(.col, [class^="col-"], [class*=" col-"]) { position: relative; padding-left: 15px; padding-right: 15px; }
/* Bootstrap 5 gibt JEDEM direkten Kind einer .row Innenabstand und volle Breite – Bootstrap 4 nur den Spalten */
.row > :where(:not(.col):not([class^="col-"]):not([class*=" col-"])) { padding-left: 0; padding-right: 0; width: auto; max-width: none; flex-shrink: 1; }
.row > .modal { width: 100%; }

/* Listen: Bootstrap 5 rückt ul/ol um 2rem ein – Bootstrap 4 überließ das der Seite (hier: * { padding: 0 }) */
ol, ul { padding-left: 0; }
small, .small { font-size: .875em; font-weight: 400; }

/* Formularfelder wie Bootstrap 4 (Rahmenfarbe, Radius, Fokus) */
.form-control { border-color: #ced4da; border-radius: .25rem; }
.form-control:focus { border-color: #80bdff; box-shadow: 0 0 0 .2rem rgba(0,123,255,.25); }
textarea.form-control { min-height: 0; }

/* Meldungen des Kontaktformulars wie Bootstrap 4 */
.alert { border-radius: .25rem; }
.alert-success { color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.alert-danger  { color: #721c24; background-color: #f8d7da; border-color: #f5c6cb; }
.alert { padding: .75rem 1.25rem; margin-bottom: 1rem; }

/* Senden-Button: Bootstrap-4-Farben für .btn-success (Rahmen, Fokus-Ring) */
.btn { border-radius: .25rem; }
.btn-success { --bs-btn-bg:#28a745; --bs-btn-border-color:#28a745; --bs-btn-hover-bg:#218838; --bs-btn-hover-border-color:#28a745;
  --bs-btn-active-bg:#1e7e34; --bs-btn-active-border-color:#1c7430; --bs-btn-disabled-bg:#28a745; --bs-btn-disabled-border-color:#28a745; --bs-btn-focus-shadow-rgb:72,180,97; }
.btn-success:focus { border-color: #28a745; box-shadow: 0 0 0 .2rem rgba(72,180,97,.5); }
.form-control::placeholder { color: #6c757d; opacity: 1; }


/* ---------- Teil 2: Seiten-Styles (bisher style.css) ---------- */

/* Christoph Ziegler  HOMEPAGE  CSS  ---------------------------------------------------------------------------------- */


* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {font-family: 'Open Sans', 'Helvetica Neue', sans-serif; width: 100vw; min-height: 100vh; margin: 0; padding: 0; }


#preloader {position: fixed; z-index: 150; top: 0; left: 0; right: 0; bottom: 0; background: #fff; }
#status {position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px;
  background-image: url('../pix/statuswheel.gif');
  background-repeat: no-repeat;
  background-position: center; 
  }
#noscript {position: absolute; z-index: 9999; width: 100%; height: 100%; top: 0; left: 0; background: #fff; }
#noscript p {position: relative; top: 0; left: 0; width: 100%; height: 100%; text-align: center; margin: 35% auto 0 auto; font-size: 20px; color: red; }

  
h1, h2, h3, h4 {font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif; text-transform: uppercase; }
h2 {font-size: 22px; }

p {font-family: 'Open Sans', 'Helvetica Neue', sans-serif; font-weight: 300; font-size: 16px; line-height: 1.2em; }
p.text {font-size: 0.98em; font-weight: 300; color: #757575; line-height: 1.325em; }


a {text-decoration: none; color: #e5003a; border: 0; outline: 0; }
a:hover, a:active, a:focus {color: #df0404; border: 0; text-decoration: none; } 
a:visited {text-decoration: none; outline: 0; border: 0;}

em {font-style: normal}

.text-center {width: 100%; text-align: center}

.hyphens { hyphens: auto; 
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-o-hyphens: auto;
	}
.justify {text-align: justify; }

hr.width-80 {width: 80%; margin: 100px auto 70px auto; }


/* Padding Rules */
.top-150 {padding-top: 150px; }
.top-120 {padding-top: 120px; }
.top-100 {padding-top: 100px; }
.top-80 {padding-top: 80px; }
.top-70 {padding-top: 70px; }
.top-50 {padding-top: 50px; }
.top-40 {padding-top: 40px; }
.top-30 {padding-top: 30px; }
.top-20 {padding-top: 20px; }
.top-0 {padding-top: 0; }

.bottom-150 {padding-bottom: 150px; }
.bottom-120 {padding-bottom: 120px; }
.bottom-100 {padding-bottom: 100px; }
.bottom-80 {padding-bottom: 80px; }
.bottom-70 {padding-bottom: 70px; }
.bottom-50 {padding-bottom: 50px; }
.bottom-40 {padding-bottom: 40px; }
.bottom-30 {padding-bottom: 30px; }
.bottom-20 {padding-bottom: 20px; }
.bottom-0 {padding-bottom: 0; }

.right-100 {padding-right: 100px; }
.right-70 {padding-right: 100px; }
.right-40 {padding-right: 100px; }



/* Image Rules */
img {width: 100%; outline: none}
.img-center {display: block; margin-left: auto; margin-right: auto; }
.img-border {border: 1px solid #e7e7e7; z-index: 9999 }
.outline {border: 1px solid #e4e4e4 }


/* Image Filter Effect */
.filter, .filter:hover { transition: all 0.35s ease-in-out; }
.filter:hover { filter: brightness(80%); filter: progid:DXImageTransform.Microsoft.Light(brightness=80); /* IE */ }
/* Image Blur Effect */
.blur, .blur:hover { transition: all 0.25s; }
.blur:hover { filter: blur(3px); filter: progid:DXImageTransform.Microsoft.Blur(pixelradius=3); /* IE */ }

/* Soft Shadow */
.shadow {
-o-box-shadow: 25px 25px 35px 1px rgba(199,199,199,1);
box-shadow: 25px 25px 35px 1px rgba(199,199,199,1);
}


/* Name Top: gemeinsame Werte für statische Seiten UND die Intro-Animation (index.css)
   --name-fs / --name-ls / --name-top an EINER Stelle; die Animation endet exakt bei diesen Werten.
   text-indent = letter-spacing gleicht den Leerraum nach dem letzten Buchstaben aus,
   damit der Name auf jeder Bildschirmbreite optisch mittig steht. */
:root { --name-fs: 25px; --name-ls: 2.1vw; --name-top: 0px; }
@media (max-width: 575.98px) { :root { --name-fs: 26px; --name-ls: 1.8vw; } }
@media (max-width: 480px) { :root { --name-fs: 24px; --name-ls: 1.15vw; --name-top: 4px; } }

.nametop {position: absolute; left: 0; display: flex; overflow: hidden; width: 100%; padding: 0; height: auto; margin-top: 32px; justify-content: center; align-items: center; }
.nametop a {display: block; width: 100%; }
.nametop a h1 {position: relative; z-index: 997; width: 100%; margin: 0; top: var(--name-top);
  font-size: var(--name-fs); line-height: 1.2em; text-align: center; white-space: nowrap;
  letter-spacing: var(--name-ls); text-indent: var(--name-ls);
  color: #000;
	} 

/* Site Title Topic */
.site-name-wrapper {position: absolute; left: 0; z-index: 99; width: 100%; margin-top: 190px; padding-right: 10%; text-align: right; 
	overflow-x: hidden; 
	}
.site-name {font-size: 24px; font-weight: 300; line-height: 1.2em; letter-spacing: 5px; opacity: 0; }
.site-name.name-small {font-size: 22px; letter-spacing: 3px; }
.site-name a {color: grey; }
.site-name a:hover, .site-name a:active {color: #000; }
.site-name span {font-size: 18px; font-weight: 400; letter-spacing: 2px; padding-right: 13px; color: #000; }
	
	
	
/* Bottom Link Box DIV 
.unten {width: 100%; margin: 50px 0 50px; justify-content: center; }
.unten div {width: 60%; height: 30px; text-align: center; }
*/


/* Social Icons BOTTOM BAR */
.bottom-bar {z-index: 1999; width: 100%; margin: 0 0 45px; padding: 0 14% 0 14%; }
.line {width: 80%; margin: 5% auto 30px auto; padding: 0; height: 1px; background: lightgrey;}

.bottom-items {width: 100%; margin: 0 auto 0 auto; text-align: center;}
.bottom-items ul {width: 100%; list-style-type: none; text-align: center;}
.bottom-items ul li {display: inline; margin: 0 1.3vw 0 1.3vw; font-size: 0.85em; font-weight: 300; }
.bottom-items ul li>a { color: grey; }
.bottom-items ul li>a:hover { color: #000;
	transition: all 0.4s linear;
	}
.bottom-items ul li>a img { display: inline-block; width: 20px; padding: 0; opacity: 0.6}
.bottom-items ul li>a img:hover { opacity: 1; 
	transition: all 0.4s linear; 
	}

/* Go Back link */
.goback-link a > h2 {text-align: center; font-size: 1.6em; letter-spacing: 1px; }

/* General rules for Cnavas & Columns */
.canvas {width: 100%; height: auto; padding: 0; margin: 0; border: 2px solid #fff; overflow-x: clip; } /* clip: schneidet seitlichen Überstand ab (negative Zeilenränder), ohne Scroll-Container */
.canvas-row {height: auto; margin-top: 200px; padding: 0 2% 30px 2%; } 




/* S I T E  B Y  S I T E   -------------------------------------------------------------------------------------------- */




/* I N D E X  /  H O M E   / W O R K S  -------------------------------------------------- */

.index-table, 
.home-table, 
.work-table { position: relative; width: 100%; max-width: 1000px; margin: 50px auto 0 auto; padding: 0 0 100px 0; }	
.index-table .flex-fill, 
.home-table .flex-fill, 
.work-table .flex-fill { min-width: 208px; border: none; outline: 0; }



/* INDEX / H O M E  ------------------------------------------------------- */  

.index-table,
.home-table { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px }


/* PixGRID -------------------------------------- */

/* Generelle Regeln */
.home-pixgrid { position: relative; display: flex; overflow: hidden; margin: 10px; background: #fff; 
 flex-direction: column; 
 align-items: center; 
 text-align: center; 
 transition: all 0.3s ease;
}
.home-pixgrid img { display: block; width: 100%; height: auto; transition: transform 0.4s linear; }
.home-pixgrid .mask { position: absolute; z-index: 10; top: 0; left: 0; width: 100%; height: 100%; }
.home-pixgrid h2 { position: relative; z-index: 99; text-align: center; }


/* größer als 992px – 3 Spalten */
@media (min-width: 992px) {
.home-pixgrid { flex: 1 1 calc(30% - 40px); max-width: 210px; overflow: hidden; }
.home-pixgrid .mask { background: rgba(0,0,0,0.4); opacity: 0; transition: opacity .4s ease-in-out; }
.home-pixgrid:hover .mask { opacity: 1; }
.home-pixgrid:hover img { transform: scale(1.04); }
.home-pixgrid h2,
.home-pixgrid p { position: relative; color: #fff; opacity: 0; transform: translateY(8px);
 transition: opacity .35s ease, transform .35s ease;
 }
.home-pixgrid h2 { padding: 33% 10px 10px; font-size: 20px; font-weight: 500; letter-spacing: .5px; line-height: 1.2em;
 transition-delay: .05s;
 }
.home-pixgrid p { font-size: 0.95em; font-weight: 400; margin: 0 10px 10px; transition-delay: .15s; }
.home-pixgrid:hover h2, 
.home-pixgrid:hover p { opacity: 1; transform: translateY(0); }
}

/* max 992px – 2 Spalten */
@media (max-width: 991.98px) {
.home-table { justify-content: center; gap: 20px; }
.home-pixgrid { flex: 1 1 calc(90% - 10px); max-width: 400px; }
.home-pixgrid .mask { position: static !important; z-index: auto !important; background: none !important; 
 height: auto; padding: 0;
 }
.home-pixgrid h2 { position: static !important; display: block; margin-top: 15px; color: #555; line-height: 1.3em;
 font-size: 17px; 
 font-weight: 400; 
 opacity: 1 !important;
 }
.home-pixgrid p { display: none !important; }
.home-pixgrid img { width: 100%; height: auto; transform: none !important; }
}

/* max 576px – 1 Spalte */
@media (max-width: 575.98px) {
.home-table { flex-direction: column; align-items: center; }
.home-pixgrid { flex: 1 1 100%; width: 100%; margin: 20px auto; overflow: visible; }
.home-pixgrid a { display: block; text-decoration: none; color: inherit; }
}



/* H O M E  Moving Text Bar */
.moving-textbox  {width: 80%; margin: 0 auto 0 auto; overflow: hidden; }
.moving-textbox h2 {display: table; font-size: 1.3em; font-weight: 300; white-space: nowrap; letter-spacing: 0px;
	transform: translateX(40%); /* Animation je nach Textlänge anpassen ! */
	animation: movtxt 20s linear infinite;
}
@keyframes movtxt { from { transform: translateX(40%)} to { transform: translateX(-100%)} }





/* W O R K S  ---------------------------------------------------------------------------- */

.work-table { margin: 0 auto 0 auto; padding: 0; text-align: center}
.work-table img {z-index: 1; min-width: 160px; max-width: 280px; } /* Breite der Thumbs */
.work-table img.wide {max-width: 320px; } 
.work-table a > p {z-index: 99; text-align:center; margin: 13px 0 50px 0; font-size: 0.95em; color: grey; }
.work-table a:hover > p {color: #000; transition: all 0.3s ease; }

.work-header {width: 100%; margin: 20px 0 100px 0; padding: 0; }
.work-header div {width: 100%; max-width: 540px; margin: 0; padding: 0 5% 0 0; }
.work-header h1 {font-size: 2.2em; font-weight: 300; letter-spacing: 1px; }
.work-header p {padding-top: 30px; font-size: 0.98em; font-weight: 300; color: #757575; line-height: 1.325em; }

.site-top-margin {margin-top: 170px; }
#top-image {text-align: center}
#top-image img {max-width: 900px; }
#top-image p {font-size: 0.9em; font-weight: 300; font-style: italic; color: grey; padding: 15px 0 20px; }

.rubric {padding: 0 0 0 0 }
.rubric h2 {text-align: left; letter-spacing: 2px; }


/* Image Modal -- siehe bg-modalslider.css ---------- */



/* P R O J E C T S  ---------------------------------------------------------
 
All styles see -- project-gallery.css ------------------------------------------ */




/* A B O U T  --------------------------------------------------------------- */

.about {margin: 150px 5% 100px 0; padding: 0; }
.about img {width: 60%; min-width: 200px; max-width: 250px; margin: 100px auto 0 auto; }
.about h2 {width: 100%; font-size: 20px; padding: 20px 0 8px; }
.about p {max-width: 650px; margin-bottom: 30px; font-weight: 300; line-height: 1.4em; color: #757575; text-align: justify;
	-o-hyphens: auto;
	hyphens: auto; 
	}
	
	
/* B I O  ------------------------------------------------------------------ */

.bio {margin: 200px 5% 100px 0; padding: 0; }
.bio #leftbox { padding: 100px 5% 100px 0; height: auto }
.bio #leftbox p { text-align: left; hyphens: auto; -webkit-hyphens: auto; }

.bio h1 {padding-bottom: 35px; font-size: 30px; font-weight: 400; }
.bio h2 {padding: 35px 0 5px; font-size: 25px; font-weight: 400; }
.bio h3 {padding: 25px 0 0; font-size: 18px; font-weight: 400; }
.bio p {margin-bottom: 10px; font-size: 0.95em; font-weight: 300; line-height: 1.4em; color: #757575; 
	text-align: justify;
	hyphens: auto; 
   -webkit-hyphens: auto;
	}
.bio b {font-weight: 300; letter-spacing: 0.5px; color: #222; }

/* Back To Top Button */
.backtotop {position: relative; margin: 50px 0 80px; justify-content: center; }
.backtotop img {width: 80px; height: 55px; padding-bottom: 15px}
.backtotop a > p {width: 100%; font-size: 15px; text-align: center; color: #000; }



/* C O N T A C T  ---------------------------------------------------------------------------- */

.contact {width: 100%; margin-top: 150px; }
.contact > img {width: 170px; max-width: 200px; height: auto; }   /* Kuvert-Symbol */
.contact p {width: 100%; font-size: .95em; font-weight: 300; color: #757575; text-align: center; line-height: 1.5em;
	margin: 40px 5% 80px 5%; 
	}
.contact p a {color: #000 } 
.contact p a:hover, .contact p a:active {color: red;
 transition: all 0.3s ease-in-out;
   }
/* Contact Form */
#contact-form { width: 80%; max-width: 620px; margin: 0 auto 0 auto; font-weight: 400; font-size: 12px }
#contact-form h1 {width: 100%; text-align: center; font-size: 55px; margin-bottom: 50px; }
#contact-form label { font-weight: 300; color: #333; font-size: 14px}
#contact-form input, #contact-form textarea { font-weight: 300; color: #333; font-size: 14px}
#contact-form .sendbutton {margin: 9px auto 0 auto; text-align: center; }
#contact-form .privacy-note {font-size: 13px; line-height: 1.4em; color: #757575; margin: 0 0 70px 0; }
#contact-form .sendbutton  .btn {text-transform: uppercase; padding: 11px 38px 11px 38px; border-radius: 16px; font-size: 16px; font-weight: 500; color: #fff; background: #000; opacity: 1; }
#contact-form .sendbutton  .btn {color: #fff; font-size: 18px; font-weight: 400;}
#contact-form .sendbutton  .btn:hover { background: red }
.help-block.with-errors { color: #ff5050; margin-top: 5px; }

.email-bottom {font-size: 2em; text-align: center; }
.email-bottom a {color: #d4002b; }



/* L I N K S   --------------------------------------------------------------------------------- */

.links {margin-top: 150px;}
.links div {padding-bottom: 100px; text-align: center; text-align: center; }
.links h2 {padding: 0 0 40px; text-align: center; font-size: 1.35em; letter-spacing: .5px; line-height: 1.45em; font-weight: 400; }
.links a {font-family: 'Lato', sans-serif; font-size: .95em; font-weight: 300; line-height: 2em; color: #000;	}
.links a:hover, .links a:active {color: red; letter-spacing: .5px; transition: all 0.25s ease-in-out; }






/* M E D I A  Q U E R I E S ----------------------------------------------------------------------- */


/* XL 1 */
@media (max-width: 1439.98px) {
.home-pixgrid {max-width: 200px; }
}

/* LG */
@media (max-width: 1199.98px) {
 nav { margin: 120px 0 0 4% }
.bottom-bar {padding: 0 10% 0 10% }
.canvas-row {margin-top: 220px; } 
.about img {margin: 120px auto 0 auto }
}

/* MD */
@media (max-width: 991.98px) {
 nav { margin: 120px 0 0 3% }
.site-name.name-small {letter-spacing: 2px }
.bottom-bar {padding: 0 4% 0 4% }
.line {width: 95%; margin-top: 10%} 
.index-table, .home-table { margin: 80px 0 0 0 }
.bottom-bar {padding: 0 10% 0 10% }
.home-pixgrid {max-width: 180px; margin: 20px 4% 20px 4%; }
.bio {margin: 200px 2% 100px 2%; padding: 0 }
.bio #leftbox { padding: 100px 10% 100px 0 }
#contact-form { width: 90%; max-width: 600px }
}

/* SM */
@media (max-width: 767.98px) {
 nav { margin: 100px 0 0 3% }
.site-name span {padding-right: 11px}
.bottom-bar {padding: 0 4% 5px 4% }
.line {width: 88%; }
.canvas-row {margin-top: 280px; } 
.index-table, .home-table, .work-table { width: 90%; margin: 100px 5% 0 5% }
.work-header {margin-top: 90px; padding: 0 0 0 5%;}
.rubric h2 {text-align: center; }
.site-top-margin {margin-top: 160px; }
.bottom-items ul li>a img {padding-top: 15px }
.about {margin: 0 15% 100px 15% }
.about h1 {text-align: center }
.bio #leftbox { padding: 80px 0 100px 0 }
.links, .contact {margin: 140px 5% 0 0 }
#contact-form { width: 80%; max-width: 420px }
}

/* XS 1 */
@media (max-width: 575.98px) {
.site-name-wrapper {padding-right: 7%; letter-spacing: 3px }
.bottom-bar {padding: 0 8% 15px 8% }
.line {margin-top: 15%}
.index-table, .home-table, .work-table { width: 94%; margin: 100px 3% 0 3%; }
#top-image img {max-width: 400px; }
.work-header {margin-top: 60px; padding: 0 5% 0 10% }
.about {margin: 0 10% 100px 10% }
.bio {margin: 200px 5% 100px 8%; }
.bio #leftbox { padding: 80px 7% 100px 7%; }
.links, .contact {margin: 110px 5% 0 0; }
}

/* XS 2 */
@media (max-width: 480px) {
.site-name-wrapper {padding-right: 6%; }
.site-name.name-small {font-size: 21px; letter-spacing: 2px }
.work-header h1 {font-size: 2em; }
.work-header p { font-size: 0.95em; line-height: 1.325em; }
.works-grid { width: 30%; max-width: 220px; margin: 30px 3% 20px 3% }
.about {margin: 0 7% 100px 7% }
.about h1 {font-size: 45px; text-align: center }
.bio {margin: 0 5% 100px 5% }
.bio #leftbox {padding: 80px 5% 100px 5%; }
#contact-form {width: 85%;  }
}

/* XS 3 */
@media (max-width: 375px) {
.site-name-wrapper {letter-spacing: 2px }
.site-name.name-small {font-size: 19px; letter-spacing: 1px }
.site-name span {font-size: 17px; letter-spacing: 2px }
.bottom-bar {padding: 0 3% 15px 3% }
.index-table, .home-table, .work-table { width: 100%; margin: 80px 0 0 0; }
.works-grid { width: 30%; max-width: 240px;}
.work-header {margin-top: 60px; padding: 0 3% 0 7%;}
#contact-form {width: 85%; }
}





/* A N I M A T I O N S ------------------------------------------------------------------------------  */

/* GROW-Dot */
.grow-dot {border: 0; transform: translateZ(0); }
.grow-dot:hover, 
.grow-dot:focus, 
.grow-dot:active { animation: grow-dot 0.3s ease-in-out 2 alternate; }

@keyframes grow-dot {to {transform: scale(1.15); } }


/* J-Query GROW-Image - Trackpad Hover */
@media (hover: hover) and (pointer: fine) { 
.grow-img { transition: 0.2s ease-out; }
.grow-img:hover { transition: 0.2s ease-out;
	transform: scale(1.04); 
	}
}





