﻿/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root{
--primary:#0a2a3a;
--secondary:#123e54;
--accent:#2d8cff;
--light:#f4f7f9;
--space-sm: 20px;
--space-md: 40px;
--space-lg: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

*{
-webkit-font-smoothing: antialiased;
}

html{
scroll-behavior:smooth;
}

body{
font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
margin:0;
}

header{
background:var(--primary);
color:white;
padding:20px;
text-align:center;
}

.logo{
font-size:28px;
font-weight:700;
}

.btn-primary{
background:linear-gradient(135deg, var(--accent), #1b6edc);
color:white;
padding:14px 28px;
border-radius:8px;
text-decoration:none;
font-weight:600;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
transition:all 0.3s ease;
}

.btn-primary:hover{
transform:translateY(-3px);
box-shadow:0 15px 35px rgba(0,0,0,0.25);
}

.btn-secondary{
background:transparent;
border:2px solid white;
color:white;
padding:14px 28px;
border-radius:8px;
text-decoration:none;
}

.btn-secondary:hover{
transform:translateY(-3px);
box-shadow:0 15px 35px rgba(0,0,0,0.25);
}


nav{
background:var(--secondary);
position:sticky;
top:0;
z-index:1000;
backdrop-filter: blur(10px);
}

nav ul{
display:flex;
justify-content:center;
list-style:none;
margin: 0;
padding:0;
flex-wrap: wrap;
background:transparent;
    gap: 2px; /* Schmaler Gap für mehr Platz */
}

nav a{
color:white;
text-decoration: none;
padding:10px;
display: block;
font-weight: 500;
    font-size: 0.95rem; /* Schrift minimal verkleinert für bessere Einzeiligkeit */
    transition: background 0.3s;
}

nav a:hover {
    background: var(--primary);
}

.contact-icon {
    height: 18px; /* Etwas kleiner wirkt oft eleganter */
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
}

.hero{
background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
url("../img/Hintergrund_ame.jpg") center/cover no-repeat;
min-height:400px;
display:flex;
align-items:center;
justify-content:center;
color:white;
}

.hero-overlay{
background:rgba(0,0,0,0.5);
padding:20px;
max-width:900px;
border-radius:10px;
text-align:center;
}

.hero h1{
font-size:42px;
}

.hero p{
font-size:18px;
}

.hero-cta a{
background:white;
color:var(--primary);
padding:12px 24px;
margin:10px;
display:inline-block;
border-radius:6px;
text-decoration:none;
font-weight:600;
}

.hero-sub{
font-size:20px;
max-width:750px;
margin:20px auto;
opacity:0.95;
}

.hero-trust{
margin-top:5px;
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
font-size:14px;
opacity:0.9;
}

a:focus,
button:focus {
outline: 2px solid var(--accent);
outline-offset: 2px;
}
/* Layout & Sektions-Abstände */
.container {
    max-width: 1100px;
    margin: auto;
    padding: var(--space-md) 20px;
}

.img {
max-width: 100%;
height: auto;
display: block;
}

h2 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

.services h3 {
margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step h3 {
margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.industries h3 {
margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.more-link {
    color: var(--accent); /* Nutzt dein Blau für den Akzent */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    transition: color 0.3s;
}

.more-link:hover {
    color: var(--secondary); /* Wird beim Drüberfahren dunkler */
    text-decoration: underline;
}

/* Services */

.services{
display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.services{
background: var(--light);
    padding: 20px; 
    border-radius: 10px;
    border: 1px solid #eee;}

/* Entfernt den oberen Abstand gezielt für die Services */
#services {
    padding-top: 30px;    /* Reduziert den oberen Abstand massiv */
    padding-bottom: 20px; /* Reduziert den unteren Abstand */
}

/* Process */

.process{
display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Entfernt den oberen Abstand gezielt für die Process */
#process {
    padding-top: 30px;    /* Reduziert den oberen Abstand massiv */
    padding-bottom: 20px; /* Reduziert den unteren Abstand */}

.step{
background: var(--light);
    padding: 20px; 
    border-radius: 10px;
    border: 1px solid #eee;
}

/* Industries */

.industries{
display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.industries{
background: var(--light);
    padding: 20px; 
    border-radius: 10px;
    border: 1px solid #eee;
}

/* Entfernt den oberen Abstand gezielt für die Indusrty */
#industries {
    padding-top: 30px;    /* Reduziert den oberen Abstand massiv */
    padding-bottom: 20px; /* Reduziert den unteren Abstand */
}

.references {
background:var(--light);
padding:20px;
text-align:center;
}

/* Entfernt den oberen Abstand gezielt für die Referenzen */
#references {
    padding-top: 30px;    /* Reduziert den oberen Abstand massiv */
    padding-bottom: 20px; /* Reduziert den unteren Abstand */
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.reference-card {
    background: var(--light);
    padding: 40px 30px;
    border-radius: 10px;
    position: relative;
    border-bottom: 4px solid var(--accent);
    transition: transform 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-5px);
}

.quote-icon {
    font-family: 'Georgia', serif;
    font-size: 60px;
    color: var(--accent);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.2;
}

.reference-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.reference-author {
    font-size: 0.9em;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.reference-author strong {
    color: var(--primary);
}
/* About */

.about{
background:var(--light);
}

/* Entfernt den oberen Abstand gezielt für die About */
#about {
    padding-top: 30px;
    padding-bottom: 20px;
}

/* CTA */

.cta{
background:var(--primary);
color:white;
text-align:center;
padding:80px 20px;
}

.cta a{
background:white;
color:var(--primary);
padding:14px 28px;
display:inline-block;
margin-top:20px;
border-radius:6px;
text-decoration:none;
}

#backToTop {
    display: none; /* Wird per JavaScript eingeblendet */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    border: none;
    outline: none;
    background-color: var(--accent);
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background 0.3s, transform 0.3s;
    
    /* Zentrierung des Bildes */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; 
}

#backToTop img {
    /* Falls dein Icon weiß sein soll, aber schwarz ist, aktiviere diese Zeile: */
    /* filter: brightness(0) invert(1); */
    filter: brightness(0) invert(1); 
}

#backToTop:hover {
    background-color: var(--secondary);
    transform: scale(1.1);
}

/* Contact */

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

form{
display:flex;
flex-direction:column;
gap:12px;
}

input, textarea{
  width: 100%;
  box-sizing: border-box; /* Verhindert, dass Padding das Feld breiter als den Container macht */
  font-family: inherit;   /* Nutzt "Inter" auch in den Eingabefeldern */
padding:12px;
border:1px solid #ccc;
border-radius:5px;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 5px rgba(45, 140, 255, 0.3);
}

button{
padding:14px;
background:var(--primary);
color:white;
border:none;
border-radius:6px;
cursor:pointer;
transition: all 0.25s ease;
}

button:hover {
    background: var(--secondary);
    filter: brightness(1.1);
    transform: translateY(-2px);
}

button:disabled{
opacity:0.5;
cursor:not-allowed;
}

/* Markiert ungültige (leere) Pflichtfelder mit einem roten Rand, sobald der Nutzer zu tippen beginnt */
input:invalid:not(:placeholder-shown), 
textarea:invalid:not(:placeholder-shown) {
    border-color: #e74c3c;
}

#form-status {
    animation: fadeIn 0.5s ease-in-out;
}

.visual-hide {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */

footer{
background:#111;
color:#aaa;
padding:40px;
text-align:center;
}

/* Privacy Checkbox Styling */

.form-privacy {
    display: flex;
    align-items: flex-start; /* Richtet Checkbox oben am Text aus */
    gap: 10px;
    margin: 10px 0;
    font-size: 0.9rem;
    color: #444;
}

/* Verhindert, dass die Checkbox 100% breit wird */
.form-privacy input[type=checkbox] {
    width: auto !important;
    margin-top: 5px;
    cursor: pointer;
}

.form-privacy label {
    cursor: pointer;
    line-height: 1.4;
}

.form-privacy a {
    color: var(--accent);
    text-decoration: none;
}

.form-privacy a:hover {
    text-decoration: underline;
}

/* Pflichtfeld-Hinweis */
.form-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: -5px;
}

/* Mobile Optimierung: Wenn das Menü umbricht */
@media (max-width: 768px) {
    nav a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 28px; }
    .hero-overlay { padding: 30px 20px; }
    .container { padding: 30px 15px; } /* Noch kompakter auf dem Handy */
}

.services,
.step,
.industries{
transition:all 0.3s ease;
}

.services:hover,
.step:hover,
.industries:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,0.1);
}