/* ============================================================
   INTUITIONSRAUM — shared.css
   Gültig für alle Unterseiten (index, ueber-mich, angebote,
   faq, kosten, kontakt, co-kreativ)
   ============================================================ */

/* ----------------------------------------
   Farbpalette
   ---------------------------------------- */
:root {
    --primary-color:    #05197b;
    --secondary-color:  #c2b59b;
    --accent-color:     #03113d;
    --bg-light:         #f7f2ec;   /* Karten-Innenfarbe */
    --text-color:       #333333;
    --text-light:       #666666;
    --white:            #FFFFFF;
}

/* ----------------------------------------
   Reset & Grundlegendes
   ---------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Georgia', serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(135deg, #f0ece6 0%, #e4d9cc 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* ----------------------------------------
   Navigation / Header
   ---------------------------------------- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.4rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 64px;
    width: auto;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav ul li { white-space: nowrap; }

nav a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
    position: relative;
}

nav a:hover { color: var(--primary-color); }

nav a.active {
    color: var(--primary-color);
    font-weight: bold;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; right: 0;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* ----------------------------------------
   Dropdown-Untermenü
   ---------------------------------------- */
nav ul li.has-dropdown { position: relative; }

nav ul li.has-dropdown .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    border-radius: 6px;
    min-width: 200px;
    padding: 8px 0 0.4rem;
    z-index: 2000;
    flex-direction: column;
    gap: 0;
}

nav ul li.has-dropdown:hover .dropdown,
nav ul li.has-dropdown:focus-within .dropdown,
nav ul li.has-dropdown.open .dropdown { display: flex; }

nav ul li.has-dropdown .dropdown li { white-space: nowrap; width: 100%; }

nav ul li.has-dropdown .dropdown a {
    display: block;
    padding: 0.6rem 1.2rem;
    color: var(--text-color);
    font-size: 0.95rem;
    border-radius: 0;
}

nav ul li.has-dropdown .dropdown a:hover { color: var(--primary-color); background: #f5f0ea; }

nav ul li.has-dropdown .dropdown a.active::after { display: none; }

/* ----------------------------------------
   Hauptcontainer — die weiße Karte
   ---------------------------------------- */
.container {
    max-width: 900px;
    margin: 2rem auto 3rem;
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
}

/* ----------------------------------------
   Typografie
   ---------------------------------------- */
section { margin-bottom: 4rem; }

h1 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1.5rem; }
h2 {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}
h3 { font-size: 1.3rem; color: var(--primary-color); margin-top: 2rem; margin-bottom: 1rem; }

p { margin-bottom: 1rem; text-align: left; }
@media (min-width: 600px) { p { text-align: justify; } }
strong { font-weight: bold; color: var(--accent-color); }
ul { margin-left: 2rem; margin-bottom: 1rem; }
li { margin-bottom: 0.5rem; }

/* ----------------------------------------
   Hero (Startseite)
   ---------------------------------------- */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(160deg, #7aaed4 0%, #c8e2f5 60%, #ddeef8 100%);
    color: var(--accent-color);
}

.hero h1 { color: var(--accent-color); font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto; text-align: center; }

/* ----------------------------------------
   Subhero (Unterseiten)
   ---------------------------------------- */
.subhero {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(160deg, #7aaed4 0%, #c8e2f5 60%, #ddeef8 100%);
    color: var(--white);
}

.subhero { color: var(--accent-color); }
.subhero h1 { color: var(--accent-color); font-size: 2.2rem; margin-bottom: 0.5rem; }
.subhero p  { font-size: 1rem; max-width: 600px; margin: 0 auto; text-align: center; }

/* ----------------------------------------
   Inhaltsblöcke
   ---------------------------------------- */
.content-block { margin-bottom: 2rem; }
.content-block p:last-child { margin-bottom: 0; }

/* ----------------------------------------
   Bilder-Galerie
   ---------------------------------------- */
.image-gallery {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.image-gallery img {
    width: 300px; height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-gallery img:hover { transform: scale(1.05); }

/* ----------------------------------------
   Kosten-Box
   ---------------------------------------- */
.kosten-box h3 { font-size: 1.5rem; margin: 2rem 0 1rem; }

/* ----------------------------------------
   Hinweis-Box
   ---------------------------------------- */
.hinweis-box {
    background-color: #fdf6e3;
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 6px 6px 0;
}

.hinweis-box strong { color: var(--accent-color); }

/* ----------------------------------------
   Kontakt-Block
   ---------------------------------------- */
.kontakt {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.kontakt a { color: var(--primary-color); text-decoration: none; font-weight: bold; }
.kontakt a:hover { text-decoration: underline; }
.kontakt strong { color: var(--accent-color); }

/* ----------------------------------------
   Zitat-Box
   ---------------------------------------- */
.zitat-box {
    background-color: #eee8df;
    border-radius: 8px;
    padding: 2rem 2.5rem;
    margin: 2.5rem 0;
    position: relative;
}

.zitat-box::before {
    content: '\201C';
    font-family: 'Georgia', serif;
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.45;
    line-height: 1;
    display: block;
    margin-bottom: -1rem;
}

.zitat-box .zitat-label {
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.zitat-box blockquote {
    font-style: italic;
    color: var(--accent-color);
    font-size: 1.05rem;
    line-height: 1.85;
    margin: 0 0 1rem;
}

.zitat-box .zitat-quelle {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: normal;
    margin: 0;
    text-align: right;
}

/* ----------------------------------------
   Unterabschnitt-Überschriften
   ---------------------------------------- */
h2.unterabschnitt {
    font-size: 1.5rem;
    color: var(--primary-color);
    border-bottom: 1px solid var(--secondary-color);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.4rem;
}

/* ----------------------------------------
   Angebots-Blöcke
   ---------------------------------------- */
.angebot-block {
    background-color: var(--bg-light);
    border-left: 4px solid var(--secondary-color);
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.angebot-block h3 { margin-top: 0; color: var(--primary-color); font-size: 1.2rem; }
.angebot-block p:last-child,
.angebot-block ul:last-child { margin-bottom: 0; }

.angebot-nr {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.85rem;
    border-radius: 50%;
    width: 1.8em; height: 1.8em;
    line-height: 1.8em;
    text-align: center;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* ----------------------------------------
   FAQ-Akkordeon
   ---------------------------------------- */
.faq-liste { margin-top: 1.5rem; }

.faq-item { border-bottom: 1px solid var(--secondary-color); }

.faq-frage {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.2rem 0;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.5;
    transition: color 0.2s;
}

.faq-frage:hover { color: var(--primary-color); }

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1.5rem;
    color: var(--secondary-color);
}

.faq-frage.offen .faq-icon { transform: rotate(45deg); color: var(--primary-color); }

.faq-antwort {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0;
}

.faq-antwort.offen { max-height: 800px; padding-bottom: 1.5rem; }
.faq-antwort p:last-child,
.faq-antwort ul:last-child { margin-bottom: 0; }

/* ----------------------------------------
   Format-Karten (Kosten)
   ---------------------------------------- */
.format-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
}

.format-karte {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.format-karte .format-icon { font-size: 2rem; display: block; margin-bottom: 0.6rem; }
.format-karte p { text-align: center; font-size: 0.9rem; margin: 0; }
.format-karte strong { display: block; color: var(--primary-color); font-size: 0.95rem; margin-bottom: 0.3rem; }

/* ----------------------------------------
   Cozy-Box
   ---------------------------------------- */
.cozy-box {
    background-color: #fdf6e3;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--accent-color);
}

.cozy-box p { margin: 0; text-align: left; }

/* ----------------------------------------
   Co-Kreativ-Box
   ---------------------------------------- */
.co-kreativ-box {
    background: linear-gradient(135deg, #eee8df, #f9f7f4);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* ----------------------------------------
   Button "Mehr erfahren"
   ---------------------------------------- */
.btn-mehr {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.65rem 1.6rem;
    border-radius: 4px;
    text-decoration: none !important;
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

.btn-mehr:hover { background-color: var(--accent-color); }

/* ----------------------------------------
   Teaser-Karten (Startseite)
   ---------------------------------------- */
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.teaser-karte {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
    border-top: 3px solid var(--secondary-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-top-color 0.2s ease;
}

.teaser-karte:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(5, 25, 123, 0.12);
    border-top-color: var(--primary-color);
}

a.teaser-karte {
    text-decoration: none;
    color: inherit;
    display: block;
}

.teaser-karte h3 { margin-top: 0; font-size: 1rem; color: var(--primary-color); }
.teaser-karte p { font-size: 0.9rem; margin: 0; }
.teaser-karte.voll { grid-column: span 2; }

/* ----------------------------------------
   Über-mich-Preview (Startseite: Bild + Text nebeneinander)
   ---------------------------------------- */
.ueber-mich-preview {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: start;
}

.ueber-mich-preview img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

/* ----------------------------------------
   Footer
   ---------------------------------------- */
footer {
    background-color: var(--accent-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

footer a { color: var(--secondary-color); text-decoration: none; margin: 0 1rem; }
footer a:hover { text-decoration: underline; }

/* ----------------------------------------
   Responsive Design
   ---------------------------------------- */
@media (max-width: 768px) {
    .logo img { height: 52px; }
    nav { justify-content: center; padding: 0.4rem 0.5rem; gap: 0.4rem; }
    nav ul { gap: 0.6rem; justify-content: center; }
    nav a { font-size: 0.85rem; }
    nav a.active::after { bottom: -3px; height: 2px; }
    .hero h1 { font-size: 2rem; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .container { margin: 1rem 0.75rem 2rem; padding: 2rem 1.25rem; border-radius: 8px; }
    .image-gallery { flex-direction: column; align-items: center; }
    .image-gallery img { width: 280px; height: 373px; }
    .format-grid { grid-template-columns: 1fr; }
    .teaser-grid { grid-template-columns: 1fr; }
    .teaser-karte.voll { grid-column: span 1; }
    .ueber-mich-preview { grid-template-columns: 1fr; }
    .ueber-mich-preview img { width: 100%; max-width: 280px; margin: 0 auto; display: block; aspect-ratio: 3 / 4; }
}

@media (max-width: 480px) {
    .hero { padding: 3rem 1rem; }
    .hero h1 { font-size: 1.8rem; }
    .subhero h1 { font-size: 1.6rem; }
    .container { margin: 0.5rem 0.25rem 1.5rem; padding: 1.5rem 1rem; }
}
