/*
Theme Name: Übersetzungsbüro
Description: Schlankes Theme für Dolmetscher- und Übersetzungsbüros in Blau und Hellgrün. Ohne externe Schriften (DSGVO-freundlich).
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: uebersetzungsbuero
*/
:root{--blue:#1D4E89;--blue-2:#3D5A80;--blue-3:#2C66AD;--line:#CFDDC8;--green:#A8D5A2;--green-bg:#EEF6EA;--sand:#D8E4F2;--serif:Georgia,'Times New Roman',serif;--sans:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-padding-top:72px}
body{margin:0;font-family:var(--sans);color:var(--blue);background:#fff;line-height:1.6;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body.admin-bar{min-height:calc(100vh - 32px);min-height:calc(100dvh - 32px)}
@media(max-width:782px){body.admin-bar{min-height:calc(100vh - 46px);min-height:calc(100dvh - 46px)}}
main{flex:1 0 auto}
.site-footer{flex-shrink:0}
a{color:inherit}
.container{max-width:1160px;margin:0 auto;padding:0 24px}
.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:8px;top:8px;background:#fff;padding:8px 12px;z-index:100}
h1,h2,h3{font-family:var(--serif);font-weight:600}
/* Header */
.site-header{background:var(--blue);color:#fff;position:sticky;top:0;z-index:10}
.admin-bar .site-header{top:32px}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
.header-inner{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;padding-top:12px;padding-bottom:12px}
.site-title{font-family:var(--serif);font-size:20px;font-weight:600;text-decoration:none;line-height:1.25;max-width:100%}
.custom-logo{max-height:48px;width:auto}
.main-menu{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 28px;font-size:15px}
.main-menu a{display:inline-block;padding:10px 0;text-decoration:none;border-bottom:2px solid transparent}
.main-menu a:hover{text-decoration:underline}
.main-menu .current-menu-item>a,.main-menu .current_page_item>a,.main-menu .current-menu-ancestor>a{border-bottom-color:var(--green)}
.main-menu li{position:relative}
.main-menu .sub-menu{list-style:none;margin:0;padding:8px 0;position:absolute;top:100%;left:-16px;min-width:230px;background:var(--blue);border-top:2px solid var(--green);display:none;z-index:20}
.main-menu li:hover>.sub-menu,.main-menu li:focus-within>.sub-menu{display:block}
.main-menu .sub-menu a{display:block;padding:10px 16px;border:0}
.main-menu .sub-menu a:hover{background:rgba(255,255,255,.08)}
.main-menu .menu-item-has-children>a::after{content:'';display:inline-block;margin-left:8px;border:4px solid transparent;border-top-color:currentColor;vertical-align:-2px}
@media(max-width:782px){.main-menu .sub-menu{position:static;display:block;border:0;padding:0 0 0 16px;min-width:0}}
/* Buttons */
.btn,.wp-block-button__link{display:inline-block;background:var(--green);color:var(--blue);padding:14px 28px;font-weight:600;border-radius:4px;min-height:44px;text-decoration:none;border:0}
.btn-dark{background:var(--blue);color:#fff}
.btn-outline{background:transparent;color:#fff;border:1px solid #9DB6D6;font-weight:400}
/* Hero */
.hero{background:var(--blue);color:#fff;padding:96px 0 112px}
.hero .eyebrow{margin:0 0 28px;font-size:14px;letter-spacing:.12em;text-transform:uppercase;color:var(--green);font-weight:600}
.hero h1{margin:0 0 28px;max-width:820px;font-size:clamp(36px,6vw,56px);line-height:1.1}
.hero p.lead{margin:0 0 36px;max-width:640px;font-size:19px;color:var(--sand)}
.hero .actions{display:flex;flex-wrap:wrap;gap:16px}
.fach{background:var(--green-bg);padding:28px 0}
.fach .container{display:flex;flex-wrap:wrap;gap:12px 40px;justify-content:space-between;font-family:var(--serif);font-size:20px;font-weight:500}
.section{padding:96px 0}
.section h2{margin:0 0 12px;font-size:clamp(30px,4vw,40px);line-height:1.15}
.section .intro{margin:0;max-width:640px;font-size:18px;color:var(--blue-2)}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;margin-top:40px}
.card{border:1px solid var(--line);border-radius:8px;padding:32px;display:flex;flex-direction:column;gap:12px;text-decoration:none}
.card:hover{border-color:var(--blue-3)}
.card .num{font-size:14px;font-weight:600;color:var(--blue-3)}
.card h3{margin:0;font-size:26px}.card p{margin:0;color:var(--blue-2)}
.cta{background:var(--green-bg);padding:72px 0}
.cta .container{display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between}
.cta h2{margin:0;font-size:32px;line-height:1.2}
/* Seiten */
.page-band{background:var(--green-bg);padding:72px 0}
.page-band h1{margin:0;font-size:clamp(34px,5vw,48px);line-height:1.1}
.page-body{padding:72px 0 96px}
.entry-content{max-width:800px;font-size:18px;color:var(--blue-2)}
.entry-content h2{color:var(--blue);font-size:32px;margin:48px 0 12px}
.entry-content h2:first-child{margin-top:0}
.entry-content a{color:var(--blue-3)}
.entry-content ul.chips{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:12px}
.entry-content ul.chips li{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 20px;color:var(--blue)}
.entry-content input,.entry-content textarea{width:100%;padding:12px;border:1px solid #5B7BA3;border-radius:4px;font:inherit;min-height:44px}
.entry-content input[type=submit]{width:auto;background:var(--blue);color:#fff;border:0;font-weight:600;padding:14px 28px;cursor:pointer}
/* Footer */
.site-footer{background:var(--blue);color:var(--sand);padding:32px 0;font-size:14px}
.site-footer .container{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between}
.footer-menu{list-style:none;margin:0;padding:0;display:flex;gap:24px}

/* Bilder */
.hero-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:48px;align-items:center}
.hero-img{width:100%;max-width:520px;height:auto;justify-self:center}
.card img{width:100%;max-width:200px;height:auto;border-radius:12px;margin-bottom:8px}
.page-banner{width:100%;height:auto;margin-bottom:40px}

/* Animationen */
.welcome{display:grid;margin:0 0 20px;font-family:var(--serif);font-size:clamp(28px,4vw,40px);line-height:1.2;color:var(--green);min-height:1.3em}
.welcome span{grid-area:1/1;opacity:0;animation:welcome 16s infinite both}
@keyframes welcome{0%{opacity:0;transform:translateY(14px)}2.5%{opacity:1;transform:none}10%{opacity:1;transform:none}12.5%{opacity:0;transform:translateY(-14px)}100%{opacity:0}}
.welcome span:nth-child(1){animation-delay:0s}
.welcome span:nth-child(2){animation-delay:2s}
.welcome span:nth-child(3){animation-delay:4s}
.welcome span:nth-child(4){animation-delay:6s}
.welcome span:nth-child(5){animation-delay:8s}
.welcome span:nth-child(6){animation-delay:10s}
.welcome span:nth-child(7){animation-delay:12s}
.welcome span:nth-child(8){animation-delay:14s}
.hero .eyebrow,.hero h1,.hero p.lead,.hero .actions{animation:rise .8s ease-out both}
.hero .eyebrow{animation-delay:.1s}.hero h1{animation-delay:.25s}.hero p.lead{animation-delay:.4s}.hero .actions{animation-delay:.55s}
@keyframes rise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.welcome span{animation:none}.welcome span:first-child{opacity:1}.hero .eyebrow,.hero h1,.hero p.lead,.hero .actions{animation:none}}

.entry-content .hours table{border-collapse:collapse;width:100%;max-width:560px}
.entry-content .hours td{padding:8px 16px 8px 0;border:0;border-bottom:1px solid var(--line);color:var(--blue)}
.entry-content .hours td:first-child{font-weight:600;white-space:nowrap}
.entry-content .call-us a{font-family:var(--serif);font-size:32px;font-weight:600;color:var(--blue);text-decoration:none}

.map-consent{margin:48px 0;border:1px solid var(--line);border-radius:8px;background:var(--green-bg);min-height:320px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:32px;text-align:center}
.map-consent p{max-width:520px;margin:0;color:var(--blue-2)}
.map-consent a{color:var(--blue-3)}
.map-consent .btn{cursor:pointer;font:inherit;font-weight:600}
.map-consent iframe{width:100%;height:420px;border:0;border-radius:8px;display:block}
.map-consent.loaded{padding:0;min-height:0;display:block;background:none;border:0}

.hero{background:var(--blue) url(images/hintergrund-muster.svg) center/cover no-repeat}
.duo{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:40px;align-items:center;margin-top:32px}
.duo img{width:100%;height:auto;max-width:560px;justify-self:center}
.entry-content .page-banner{max-width:520px;margin-top:32px}

/* Menü-Ersatz (wp_list_pages) */
.main-menu .children{list-style:none;margin:0;padding:8px 0;position:absolute;top:100%;left:-16px;min-width:230px;background:var(--blue);border-top:2px solid var(--green);display:none;z-index:20}
.main-menu li:hover>.children,.main-menu li:focus-within>.children{display:block}
.main-menu .children a{display:block;padding:10px 16px;border:0}
@media(max-width:782px){.main-menu .children{position:static;display:block;border:0;padding:0 0 0 16px;min-width:0}}
