/* Gestaltung der Leistungsseiten (webdesign-regensburg.html, fotograf-regensburg.html) */
:root{--bg:#EEF0EF;--bg-2:#FFFFFF;--bg-3:#E2E6E5;--text:#18202B;--muted:#55606B;--line:#C9CFCE;--red:#2F5D8A;--dark:#0F151C;--ease:cubic-bezier(.2,.7,.2,1)}
*{box-sizing:border-box;margin:0;padding:0}
body{background:var(--bg);color:var(--text);font-family:"Figtree",system-ui,sans-serif;font-size:1.0625rem;line-height:1.6;-webkit-font-smoothing:antialiased}
h1,h2,h3,.btn,.logo{font-family:"Bricolage Grotesque",system-ui,sans-serif}
a{color:inherit}
img{display:block;max-width:100%}
:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.wrap{max-width:1140px;margin:0 auto;padding:0 16px}
@media (min-width:720px){.wrap{padding:0 40px}}

header{background:var(--dark);color:#F2F4F3}
.nav{display:flex;align-items:center;justify-content:space-between;height:72px;gap:16px}
.logo{font-weight:800;font-size:1.15rem;text-decoration:none;letter-spacing:-.02em;display:flex;align-items:center;gap:10px}
.logo svg{width:28px;height:28px;flex:none;--logo-akzent:#6FA3D6}
.btn{display:inline-flex;align-items:center;gap:8px;background:var(--text);color:#fff;text-decoration:none;font-weight:600;font-size:1rem;padding:13px 24px;border-radius:999px;border:1px solid var(--text);transition:background .25s,border-color .25s,color .25s}
.btn:hover{background:var(--red);border-color:var(--red)}
.btn.small{padding:9px 18px;font-size:.92rem}
.btn.hell{background:#F2F4F3;color:var(--dark);border-color:#F2F4F3}
.btn.hell:hover{background:#4F86BD;border-color:#4F86BD;color:#fff}
.btn.ghost{background:transparent;color:var(--text)}
.btn.ghost:hover{background:var(--text);color:#fff}

.intro{background:var(--dark);color:#F2F4F3;padding:56px 0 80px}
.intro .wrap{display:grid;gap:40px;align-items:center}
@media (min-width:900px){.intro .wrap{grid-template-columns:1.15fr .85fr}}
.crumb{font-size:.9rem;color:#B9C3CC;margin-bottom:18px}
.crumb a{color:#B9C3CC}
.intro h1{font-size:clamp(2.3rem,5.6vw,4.4rem);line-height:1;font-weight:800;letter-spacing:-.04em}
.intro p{color:#B9C3CC;font-size:1.15rem;max-width:46ch;margin:22px 0 30px}
.intro .bild{aspect-ratio:4/5;border-radius:18px;overflow:hidden;background:#1C2530}
.intro .bild img{width:100%;height:100%;object-fit:cover}
.actions{display:flex;flex-wrap:wrap;gap:12px}
.intro .btn.ghost{color:#F2F4F3;border-color:rgba(242,244,243,.55)}
.intro .btn.ghost:hover{background:#F2F4F3;color:var(--dark)}

section.block{padding:88px 0;border-bottom:1px solid var(--line)}
section.block h2{font-size:clamp(1.9rem,4vw,3rem);line-height:1.05;font-weight:800;letter-spacing:-.03em;max-width:20ch;margin-bottom:18px}
section.block > .wrap > p{color:var(--muted);max-width:62ch;margin-bottom:36px}
.cards{display:grid;gap:16px}
@media (min-width:760px){.cards{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1040px){.cards.drei{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--bg-2);border:1px solid var(--line);border-radius:18px;padding:28px}
.card h3{font-size:1.25rem;font-weight:600;margin-bottom:8px}
.card p{color:var(--muted);font-size:1rem}
.card .preis{font:800 2.2rem/1 "Bricolage Grotesque",sans-serif;letter-spacing:-.03em;margin:10px 0 12px;color:var(--text)}
.card ul{list-style:none;margin-top:14px}
.card li{padding:8px 0;border-top:1px solid var(--line);font-size:.98rem;display:flex;gap:10px}
.card li::before{content:"";flex:none;width:6px;height:6px;border-radius:50%;background:var(--red);margin-top:10px}
.card.featured{border-color:var(--red)}
.note{color:var(--muted);font-size:.95rem;margin-top:22px}

.steps{list-style:none;display:grid;gap:16px;counter-reset:s}
@media (min-width:900px){.steps{grid-template-columns:repeat(4,1fr)}}
.steps li{counter-increment:s;background:var(--bg-2);border:1px solid var(--line);border-radius:18px;padding:26px}
.steps li::before{content:counter(s,decimal-leading-zero);display:block;font:600 .95rem "Bricolage Grotesque",sans-serif;color:var(--red);margin-bottom:28px}
.steps h3{font-size:1.15rem;font-weight:600;margin-bottom:6px}
.steps p{color:var(--muted);font-size:.98rem}

.faq{max-width:780px}
.faq details{border-top:1px solid var(--line);padding:18px 0}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;font:600 1.15rem "Bricolage Grotesque",sans-serif;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--red);font-size:1.4rem;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq details p{color:var(--muted);margin-top:10px;max-width:64ch}

.cta{background:var(--dark);color:#F2F4F3;padding:88px 0;text-align:center}
.cta h2{font-size:clamp(2.2rem,6vw,4.2rem);line-height:1;font-weight:800;letter-spacing:-.04em;margin-bottom:18px}
.cta p{color:#B9C3CC;margin:0 auto 30px;max-width:46ch}
.cta .actions{justify-content:center}

footer{padding:32px 0;color:var(--muted);font-size:.92rem}
footer .wrap{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between}
footer nav{display:flex;flex-wrap:wrap;gap:8px 24px}
footer a{text-decoration:none}footer a:hover{color:var(--text)}

/* ---------- Barrierefreiheit ---------- */
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:#fff;color:var(--text);padding:10px 16px;border-radius:10px;font-weight:600;text-decoration:none;box-shadow:0 4px 16px rgba(0,0,0,.2)}
.skip:focus{top:12px}
header :focus-visible,.intro :focus-visible,.cta :focus-visible{outline-color:#9CC0E4}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.btn.ghost.hell-rand{color:#F2F4F3;border-color:rgba(242,244,243,.55)}
.btn.ghost.hell-rand:hover{background:#F2F4F3;color:var(--dark)}
.intro.schmal .wrap{grid-template-columns:1fr}
.intro.schmal h1{max-width:18ch}

/* ---------- Fallstudie ---------- */
.fakten{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-top:8px}
.fakten div{border-top:2px solid var(--red);padding-top:12px}
.fakten b{display:block;font:600 1.05rem "Bricolage Grotesque",sans-serif}
.fakten span{color:var(--muted);font-size:.95rem}
.phones{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));align-items:start}
.phone{margin:0}
.phone img{width:100%;border-radius:28px;border:8px solid #18202B;box-shadow:0 20px 50px rgba(15,21,28,.18);background:#18202B}
.phone figcaption{color:var(--muted);font-size:.95rem;margin-top:14px}
.phone figcaption b{display:block;color:var(--text)}
.zwei{display:grid;gap:32px}
@media (min-width:900px){.zwei{grid-template-columns:1fr 1fr}}
.text p{color:#3A4450;margin-bottom:14px;max-width:62ch}
.text ul{margin:0 0 14px 1.2em;color:#3A4450}
.text li{margin-bottom:6px}

/* ---------- Ratgeber ---------- */
.artikel{max-width:720px}
.artikel h2{font-size:clamp(1.5rem,3vw,2rem)!important;max-width:none!important;margin:44px 0 12px!important}
.artikel h3{font:600 1.2rem "Bricolage Grotesque",sans-serif;margin:28px 0 8px}
.artikel p,.artikel li{color:#2E3844;font-size:1.08rem;line-height:1.7}
.artikel p{margin-bottom:16px}
.artikel ul,.artikel ol{margin:0 0 18px 1.3em}
.artikel li{margin-bottom:8px}
.artikel table{width:100%;border-collapse:collapse;margin:8px 0 22px;font-size:1rem}
.artikel th,.artikel td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:top}
.artikel th{font-weight:600}
.meta-zeile{color:#B9C3CC;font-size:.95rem}
.kasten{background:var(--bg-2);border:1px solid var(--line);border-left:4px solid var(--red);border-radius:12px;padding:18px 20px;margin:24px 0}
.kasten p:last-child{margin-bottom:0}
.liste-artikel{display:grid;gap:16px}
@media (min-width:860px){.liste-artikel{grid-template-columns:repeat(3,1fr)}}
.liste-artikel a{text-decoration:none;display:flex;flex-direction:column;gap:10px;background:var(--bg-2);border:1px solid var(--line);border-radius:18px;padding:26px;transition:border-color .25s,transform .35s var(--ease)}
.liste-artikel a:hover{border-color:var(--red);transform:translateY(-3px)}
.liste-artikel small{color:var(--red);font-weight:600}
.liste-artikel h3{font-size:1.3rem;font-weight:600;line-height:1.2}
.liste-artikel p{color:var(--muted);font-size:1rem}

/* ---------- Galerie ---------- */
.gfilter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.gfilter button{font:600 .95rem "Figtree",sans-serif;background:transparent;color:var(--muted);border:1px solid var(--line);padding:9px 18px;border-radius:999px;cursor:pointer}
.gfilter button[aria-pressed="true"]{background:var(--text);color:#fff;border-color:var(--text)}
.galerie{columns:1;column-gap:14px}
@media (min-width:640px){.galerie{columns:2}}
@media (min-width:1000px){.galerie{columns:3}}
.galerie button{display:block;width:100%;margin:0 0 14px;padding:0;border:0;background:var(--bg-3);border-radius:12px;overflow:hidden;cursor:zoom-in;break-inside:avoid}
.galerie button[hidden]{display:none}
.galerie img{width:100%;height:auto;transition:transform .8s var(--ease)}
.galerie button:hover img{transform:scale(1.03)}
.lightbox{position:fixed;inset:0;z-index:90;background:rgba(10,14,19,.94);display:none;align-items:center;justify-content:center;padding:56px 16px}
.lightbox.offen{display:flex}
.lightbox img{max-width:100%;max-height:100%;border-radius:8px}
.lightbox button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;border-radius:999px;width:46px;height:46px;font-size:1.4rem;cursor:pointer}
.lightbox .zu{top:14px;right:14px}.lightbox .zur{left:14px;top:50%}.lightbox .vor{right:14px;top:50%}
.hinweis-klein{color:var(--muted);font-size:.92rem;margin-top:18px}

/* ---------- Formulare (Website-Check, Termin) ---------- */
.formular{display:grid;gap:16px;background:var(--bg-2);border:1px solid var(--line);border-radius:18px;padding:28px;max-width:640px}
.formular label{display:grid;gap:8px;font-size:.95rem;font-weight:500;color:#3A4450}
.formular input,.formular select,.formular textarea{font:inherit;font-size:1rem;padding:13px 14px;border:1px solid #7C8689;border-radius:10px;background:var(--bg);color:var(--text);width:100%}
.formular input:focus,.formular select:focus,.formular textarea:focus{border-color:var(--red);outline:2px solid var(--red);outline-offset:1px}
.formular textarea{min-height:110px;resize:vertical}
.formular .check{display:flex;gap:10px;align-items:flex-start;color:var(--muted);font-size:.92rem}
.formular .check input{width:auto;margin-top:4px;accent-color:var(--red)}
.formular .zwei-sp{display:grid;gap:16px}
@media (min-width:600px){.formular .zwei-sp{grid-template-columns:1fr 1fr}}
.tage{display:flex;gap:8px;overflow-x:auto;padding-bottom:6px}
.tage button,.zeiten button{font:600 .95rem "Figtree",sans-serif;border:1px solid #7C8689;background:#fff;color:var(--text);border-radius:12px;padding:10px 14px;cursor:pointer;white-space:nowrap}
.tage button small{display:block;font-weight:400;color:var(--muted);font-size:.8rem}
.tage button[aria-pressed="true"],.zeiten button[aria-pressed="true"]{background:var(--text);color:#fff;border-color:var(--text)}
.tage button[aria-pressed="true"] small{color:#C9D1D8}
.zeiten{display:flex;flex-wrap:wrap;gap:8px}
.meldung{padding:14px 16px;border-radius:12px;background:#E6F2EA;color:#16502F;font-weight:500}
.meldung.fehler{background:#F8E3E3;color:#7F1D1D}
fieldset{border:0;padding:0;margin:0;display:grid;gap:10px}
legend{font-size:.95rem;font-weight:500;color:#3A4450;margin-bottom:8px}
fieldset{min-width:0}
.formular [hidden]{display:none!important}
.formular .check span{display:block}

/* ---------- Pakete wie auf der Startseite ---------- */
html{scroll-behavior:smooth}
button.btn{cursor:pointer}
.card.paket{display:flex;flex-direction:column}
.card.paket ul{flex:1;margin-bottom:24px}
.card.paket .btn{justify-content:center}
.card.featured{background:linear-gradient(180deg,#D6E1EC,var(--bg-2) 45%)}
.card .badge{align-self:flex-start;display:inline-block;font-size:.8rem;font-weight:600;color:var(--red);border:1px solid rgba(47,93,138,.35);border-radius:999px;padding:3px 10px;margin-bottom:14px}
.zusatz{display:grid;gap:16px 32px;align-items:center;margin-top:16px;background:var(--bg-2);border:1px solid var(--line);border-radius:18px;padding:24px 28px}
.zusatz h3{font-size:1.25rem;font-weight:600}
.zusatz p{color:var(--muted);font-size:.98rem;margin-top:4px;max-width:62ch}
.zusatz .preis{font:800 1.8rem/1 "Bricolage Grotesque",sans-serif;letter-spacing:-.03em;white-space:nowrap}
.zusatz .preis small{font-size:.5em;font-weight:600;letter-spacing:0}
.zusatz .btn{justify-content:center}
@media (min-width:960px){.zusatz{grid-template-columns:1fr auto auto}}

/* ---------- Fotoband „Mein Blick“ (Script: fotoband.js) ---------- */
.blick-reihe{display:grid;grid-auto-flow:column;grid-auto-columns:240px;gap:14px;overflow-x:auto;padding-bottom:14px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.blick-reihe figure{margin:0}
.blick-reihe img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:14px;display:block;transition:transform .5s var(--ease)}
.blick-reihe figure:hover img{transform:scale(1.02)}
.blick-reihe figcaption{margin-top:6px;font-size:.85rem;color:var(--muted)}
@media (max-width:700px){.blick-reihe{grid-auto-columns:62%}}
@media (hover:hover){
  .blick-reihe{cursor:grab;scrollbar-width:thin;scrollbar-color:var(--red) var(--bg-3)}
  .blick-reihe::-webkit-scrollbar{height:10px}
  .blick-reihe::-webkit-scrollbar-track{background:var(--bg-3);border-radius:999px}
  .blick-reihe::-webkit-scrollbar-thumb{background:var(--red);border-radius:999px}
  .blick-reihe.ziehen{cursor:grabbing;user-select:none}
  .blick-reihe.ziehen img{transform:none}
}
@media (hover:none){.blick-reihe{scrollbar-width:none;padding-bottom:0}.blick-reihe::-webkit-scrollbar{display:none}}

/* ---------- Kontaktblock wie auf der Startseite ---------- */
.kontakt{border-bottom:0}
.contact{display:grid;gap:40px;align-items:start}
@media (min-width:960px){.contact{grid-template-columns:1.6fr 1fr;gap:56px}}
.contact .formular{max-width:none}
.wege h3{font-size:1.25rem;font-weight:600;margin-bottom:14px}
.wege ul{list-style:none;border-top:1px solid var(--line)}
.wege li{border-bottom:1px solid var(--line)}
.wege li[hidden]{display:none}
.wege a{display:block;padding:16px 0;text-decoration:none}
.wege a span{display:block;color:var(--muted);font-size:.9rem}
.wege a b{font:600 1.15rem "Bricolage Grotesque",sans-serif;overflow-wrap:anywhere;background:linear-gradient(var(--red),var(--red)) 0 100%/0 2px no-repeat;transition:background-size .4s var(--ease)}
.wege a:hover b{background-size:100% 2px}
.wege p{color:var(--muted);font-size:.92rem;margin-top:16px}

/* Titelbild mit eigenem Foto (Unterseiten) */
.intro.mitbild{position:relative;background:linear-gradient(90deg,rgba(15,21,28,.9) 0%,rgba(15,21,28,.7) 42%,rgba(15,21,28,.12) 85%),var(--bg) center/cover no-repeat,var(--dark);padding:80px 0 96px}
@media (max-width:700px){.intro.mitbild{background:linear-gradient(180deg,rgba(15,21,28,.25) 0%,rgba(15,21,28,.78) 45%,rgba(15,21,28,.92) 100%),var(--bg) center/cover no-repeat,var(--dark);padding-top:150px}}
.intro.mitbild h1,.intro.mitbild p{text-shadow:0 1px 12px rgba(0,0,0,.35)}
.intro .foto-hinweis{max-width:none;position:absolute;right:16px;bottom:10px;margin:0;font-size:.72rem;color:rgba(242,244,243,.6)}

/* Icons hinter den Kontaktwegen */
.wege a{position:relative;padding-right:60px}
.wege a::before{content:"";position:absolute;right:0;top:50%;width:42px;height:42px;margin-top:-21px;border-radius:50%;border:1px solid var(--line);background:var(--bg-2);transition:background .25s,border-color .25s}
.wege a::after{content:"";position:absolute;right:11px;top:50%;width:20px;height:20px;margin-top:-10px;background:var(--text);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat;transition:background .25s}
.wege a:hover::before,.wege a:focus-visible::before{background:var(--red);border-color:var(--red)}
.wege a:hover::after,.wege a:focus-visible::after{background:#fff}
.wege .ico-termin{--ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%224%22 width=%2218%22 height=%2218%22 rx=%222%22/%3E%3Cpath d=%22M16 2v4M8 2v4M3 10h18%22/%3E%3C/svg%3E")}
.wege .ico-tel{--ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z%22/%3E%3C/svg%3E")}
.wege .ico-wa{--ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3.5 20.5l1.3-4.3A8.6 8.6 0 1 1 8 19.3z%22/%3E%3Cpath d=%22M9 8.6c0 3.3 3 6.3 6.3 6.4l1.2-1.4-1.9-1-1 .8a5 5 0 0 1-2.6-2.6l.8-1-1-1.9z%22 fill=%22%23000%22 stroke-width=%221%22/%3E%3C/svg%3E")}
.wege .ico-mail{--ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222%22 y=%224%22 width=%2220%22 height=%2216%22 rx=%222%22/%3E%3Cpath d=%22M22 6l-10 7L2 6%22/%3E%3C/svg%3E")}
.wege .ico-check{--ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%227%22/%3E%3Cpath d=%22M21 21l-4.6-4.6M8 11l2 2 4-4%22/%3E%3C/svg%3E")}
.wege .ico-insta{--ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%222.5%22 y=%222.5%22 width=%2219%22 height=%2219%22 rx=%225.5%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%224.2%22/%3E%3Ccircle cx=%2217.4%22 cy=%226.6%22 r=%22.9%22 fill=%22%23000%22 stroke=%22none%22/%3E%3C/svg%3E")}
.wege .ico-fb{--ico:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z%22/%3E%3C/svg%3E")}
