@charset "utf-8";
/* CSS Document */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  src: url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2-variations'),
       url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2');
  font-display: swap;
}

@font-face {
    font-family: 'Petit Formal Script';
    src: url('../fonts/PetitFormalScript-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

strong, b {
    font-weight: 520;
}

/* --------------- Body --------------- */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: #fefefe; /* light beige */
    color: #5a5a5a; /* dark grey */
}

/* --------------- Header --------------- */
header {
    background-color: #fefefe;  /* light beige */
    color: white;
    text-align: center;
}
.header-top {
    padding: 5px 0 5px 0;
}
.header-image {
    position: relative;
    height: auto; /* passt sich der Bildhöhe an */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.header-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: -8px;
}
.header-image h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5em;
    font-weight: 400;
    color: rgba(255,255,255,1.00);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 14vh;
    /* height: 180px; Höhe der sichtbaren Welle */
    z-index: 1;
    transform: scaleX(-1); /* Spiegelung horizontal */
}

/* --------------- Text-Styles --------------- */
/* A-NEU: P-Absatzabstand */
p {
    margin-top: 0;
    margin-bottom: 1.5rem; /* Erzeugt harmonischen Abstand nach unten (ca. 24px) */
    line-height: 1.6;
}
p:last-child {
    margin-bottom: 0; /* Verhindert doppelten Abstand am Ende eines Containers */
}
/* E-NEU: P-Absatzabstand */
.linehight
{
    line-height: 35px;
    vertical-align: top;
}
.bold {
    font-weight: bold;
}
.smalltext {
    font-size: 12px;
}

/*
Cinzel
Marcellus
Petit Formal Script
*/

h1, h2, h3, h4, h5, h6 {
    font-family: "Petit Formal Script", serif;
}
h1 {
    font-weight: 400;
    font-style: normal;
}
h2 {
    font-size: 26px;
    font-weight: 400;
    font-style: normal;
}
h3 {
    font-size: 22px;
    font-weight: 400;
    font-style: normal;
}
h4 {
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
}

/* --------------- Menu / Navigation --------------- */
nav {
    margin: 20px 0px 0px 0px;
    padding: 2px 0px;
    background-color: #AAA3A0; /* main brown */
}
.nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}
.nav li {
    margin: 0 15px;
}
.nav a, .nav a:link, .nav a:visited, .nav a:active, .nav a:focus {
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    font-size: 14px;
    padding: 10px 15px;
    position: relative;
    display: inline-block;
}
/* - Balken-Effekt bei Hover und aktivem Menüpunkt - */
.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* Abstand nach unten */
    width: 100%;
    height: 5px;
    background: #695d58; /* Farbe des Balkens */
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}
.nav a:hover::after,
.nav a.active::after {
    transform: scaleX(1);
}

/* --------------- Link-Styles --------------- */
a:link {
    color: #7094B4; /* link blue */
    text-decoration: none;
}
a:visited {
    color: #7094B4; /* link blue */
    text-decoration: none;
}
a:hover, a:active, a:focus {
    color: #8B6B43; /* link brown */
    text-decoration: none;
}

/* --------------- Layout --------------- */
main {

}

/* --------------- Image-Styles --------------- */
.image-round {
    display: block;
    width: 100%;           /* Nutzt die volle Breite der Spalte */
    aspect-ratio: 1 / 1;   /* Erzwingt ein quadratisches Verhältnis (wichtig, falls das Originalbild nicht exakt quadratisch ist) */
    object-fit: cover;     /* Schneidet das Bild sauber ab, ohne es unschön zu verzerren */
    border-radius: 50%;    /* Macht die Ecken so rund, dass ein Kreis entsteht */

    /* Browser-Rendering-Fixes gegen Pixelbildung */
    overflow-clip-margin: unset;
    image-rendering: smooth;
    transform: translateZ(0); /* Aktiviert Grafikbeschleunigung für saubere Kanten */
}

/* --- Div --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
hr {
    border: none;                 /* Standard-Browser-Stil entfernen */
    height: 1px;                  /* sehr dünn */
    background-color: #DCD8CF;    /* dunkelbeige (Goldbraun), Hex-Code anpassen */
    margin: 1em 0;                /* Abstand nach oben/unten */
    box-shadow: none;             /* sicherstellen, dass kein Schatten bleibt */
}
div {
        
}
div.content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
div.bgcolor0 {
/* keine Farbe */    
}
div.bgcolor1 {
    background-color: #F5F7F9; /* lighter blue */
}
div.bgcolor2 {
    background-color: #F4F3F1; /* lighter beige */
}
div.bgcolor3 {
    background-color: #CCD9E4; /* light blue */
}
div.bgcolor4 {
    background-color: #DCD8CF; /* light beige */
}

/* Flexibles & Variables Spalten-System (2 oder 3 Spalten) */
.flex-columns {
    display: flex;
    flex-wrap: wrap;       /* Erlaubt den Umbruch auf Mobilgeräten */
    gap: 20px;             /* Fester Abstand zwischen den Spalten */
    margin: 25px 0;
    justify-content: space-between;
}

        /* Standardverhalten für mobile Geräte (eine Spalte untereinander) */
.column {
    flex: 1 1 100%;        /* Nutzt mobil die volle Breite */
}

        /* Automatische Optimierung für Bilder innerhalb der Spalten */
.column img {
    display: block;
    max-width: 100%;       /* Verhindert, dass Bilder aus der Spalte herausragen */
    height: auto;          /* Behält das korrekte Seitenverhältnis bei */
    border-radius: 4px;    /* Leicht abgerundete Ecken passend zum Design */
}

/* - Kontaktbereich - */
.kontaktbereich {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0px 20px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.8;
}
.kontakt-logo {
    flex: 0 0 auto;
    display: inline-block; /* damit der Container sich am Inhalt orientiert */
    width: auto;
    max-width: 100%; /* zur Sicherheit für responsives Verhalten */
}
.kontakt-logo img {
    max-width: 140px;
    height: auto;
}
.kontakt-info {
    flex: 1 1 200px;
    min-width: 150px;
}
.kontakt-zeiten-buchen {
    flex: 1 1 250px;
    min-width: 200px;
}
.icon-zeile {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.icon-zeile-nogap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 2px;
}
.icon-zeile img,
.icon-zeile-nogap img {
    width: 18px;
    height: auto;
    margin-top: 2px;
}
.kontaktbereich h4 {
    margin-bottom: 10px;
}

/* --- Section --- */
section {
    margin: 20px 0;
}
section.products {
    padding: 20px;
	display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* --- Angebot / Article --- */
article {
	padding: 15px;
    background-color: #F5F7F9; /* lighter blue */
	border: 0px solid #e5e5e5; /* soft beige */
    display: block;
    margin-bottom: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}
a.article-link {
  text-decoration: none;   /* Unterstreichung entfernen */
  color: inherit;          /* Textfarbe vom Eltern-Element übernehmen */
  display: block;          /* macht das <a> blockig, um <article> sauber zu umschließen */
}
a.article-link article:hover {
    background-color: #F4F3F1; /* lighter beige */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    cursor: pointer;             /* signalisiert: klickbar */
}

/* - Produktübersicht - */
.product {
	width: 360px;
	text-align: center;
}

/* - Angebot / Order - */

/* Basis-Flexbox für Boxen */
.angebot-box,
.angebot-box-noborder {
    background-color: transparent;
    border: 1px solid #e5e5e5; /* soft beige */
    display: flex;
    flex-wrap: wrap;            /* erlaubt Umbruch bei kleinen Screens */
    gap: 40px;                  /* Abstand zwischen Bild und Text */
    padding: 30px;
    align-items: flex-start;    /* vertikal oben ausrichten */
    justify-content: flex-start;/* linksbündig anordnen */
    text-align: left;           /* verhindert vererbtes zentrieren */
}

/* Variante ohne Border */
.angebot-box-noborder {
    border: 0;
}

/* Bilder */
.angebot-box img {
    max-width: 220px;
    height: auto;
    display: block; /* verhindert zentrierte Inline-Darstellung */
    margin: 0;
}

/* Text-Spalte */
.angebot-details {
    flex: 1;                     /* wächst mit verfügbarem Platz */
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;        /* Kinder füllen Breite */
    text-align: left;
    min-width: 0;                /* verhindert Flex-Shrink-Probleme bei kurzen Texten */
}

/* Alle direkten Kinder linksbündig */
.angebot-details > * {
    width: 100%;
    text-align: left;
}

/* Ausnahme: Buttons zentriert */
.angebot-details > button {
    text-align: center;
}

/* --- Footer --- */
footer {
    background-color: #afc3d5; /* main blue */
    color: white;
    text-align: center;
    padding: 15px 0;

    display: flex;
    flex-direction: column; /* übereinander: Links-Zeile, dann Copyright */
    align-items: center;    /* zentriert horizontal */
    text-align: center;
    gap: 10px;              /* Abstand zwischen Links-Zeile und Copyright */
}

/* obere Zeile mit den drei Links */
.footer-links {
    display: flex;
    justify-content: center; /* zentriert die drei Divs in der Mitte */
    align-items: center;
    gap: 20px; /* Abstand zwischen den Links */
}

/* einzelne Link-Divs */
.footer-links div {
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.footer-links div:hover {
    opacity: 0.8;
}

/* Copyright-Zeile */
.footer-copy {
    font-size: 0.9rem;
}

.footer a, .footer a:link, .footer a:visited, .footer a:active, .footer a:focus {
    text-decoration: none;
    color: white;
}


/* --------------- Button --------------- */
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
	border: none;
	padding: 10px;
	border-radius: 5px;
	cursor: pointer;
	width: 100%;
    transition: all 0.2s ease;
}

button.order {
    background-color: #C6D2DC; /* mid blue */
    color: #5a5a5a; /* dark grey */
    font-weight: bold;
	width: 30%;
}
button.order:hover {
	background-color: #afc3d5; /* main blue */
	color: white;
}
button.book {
    background-color: #e5e5e5; /* light brown */
    color: #5a5a5a; /* dark grey */
    font-weight: bold;
    width: 30%;
}
button.book:hover {
    background-color: #AAA3A0; /* main brown */
    color: white;
}

button .button-icon {
    width: 20px;
    flex-shrink: 0;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
button.order .button-icon {
    width: 16px;
}
button.book .button-icon {
    width: 15px;
}

.button-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.button-row .or {
    flex-shrink: 0;
}


/* --------------- Responsive --------------- */
@media (max-width: 1280px) {
    .header-image h1 {
        font-size: 38px;
    }
}

@media (max-width: 960px) {
    .header-image h1 {
        font-size: 24px !important;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .header-image h1 {
        font-size: 20px !important;
    }

    .wave {
    height: 11vh; /* kleinere Höhe am Smartphone Querformat */
    }

    .kontaktbereich {
        flex-direction: column;
        gap: 20px;
    }

.angebot-box,
.angebot-box-noborder {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .angebot-details {
        align-items: center;
    }

    .order {
        align-self: center;
    }
}

@media (max-width: 450px) {
    .header-image h1 {
        font-size: 14px !important;
    }
    .wave {
    height: 8vh; /* kleinere Höhe am Smartphone Hochformat */
    }
}

@media (max-width: 768px) {
    .footer-links {
        flex-direction: column; /* untereinander auf kleinen Displays */
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .button-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    button.order,
    button.book {
        width: 100%;
    }
}

@media (min-width: 769px) {
    .column {
        /* Berechnet die Wunschbreite aus dem HTML minus dem Abstand (gap) */
        flex: 0 0 calc(var(--width, 33.33%) - 20px); 
    }
}