
/* Three approved preliminary theme options; all changes are visual, not structural. */
:root {
 --otto-header-rgb:201,211,192; --otto-footer-rgb:193,187,164;
 --otto-action-rgb:151,148,108; --otto-hero-rgb:23,28,22;
 --otto-control-rgb:36,39,31; --otto-paper-wash:rgba(238,238,229,.87);
 --otto-on-action:#1b201b; --otto-overlay-outline:rgba(247,248,242,.82);
 --otto-dialog-bg:#edf0e6;
}
html[data-otto-palette="stein"] {
 --palette-sage:#d6c8ba; --palette-sand:#b0a99c;
 --palette-olive:#a09285; --palette-taupe:#60544a;
 --cream:#f2eee7; --ivory:#fbf9f3;
 --ink:#28231f; --muted:#453c35; --frame:#5e5044;
 --accent:#60544a; --rule:rgba(96,84,74,.35);
 --otto-header-rgb:214,200,186; --otto-footer-rgb:176,169,156;
 --otto-action-rgb:214,200,186; --otto-hero-rgb:36,31,28;
 --otto-control-rgb:36,31,28; --otto-paper-wash:rgba(244,239,232,.87);
 --otto-on-action:#28231f; --otto-dialog-bg:#f2eee7;
}
html[data-otto-palette="bronze"] {
 /* Metal Rock anthrazit replaces the former left-most Cobra Bronze material.
    Brushed Metal Bronze, Indigoblau and Schwarz remain unchanged.  */
 --palette-sage:#d9d7d2; --palette-sand:#bda994;
 --palette-olive:#8c8176; --palette-taupe:#232832;
 --cream:#f0efeb; --ivory:#faf9f5;
 --ink:#202329; --muted:#42464b; --frame:#3a3e43;
 --accent:#715745; --rule:rgba(35,40,50,.30);
 --otto-header-rgb:217,215,210; --otto-footer-rgb:193,185,173;
 --otto-action-rgb:111,105,96; --otto-hero-rgb:18,22,28;
 --otto-control-rgb:20,24,31; --otto-paper-wash:rgba(241,240,234,.87);
 --otto-on-action:#fffdf8; --otto-dialog-bg:#f0efeb;
}
/* The blueprint paper remains the real existing image. Footer/header have no grid. */
body {
 background-color:var(--cream);
 background-image:linear-gradient(var(--otto-paper-wash),var(--otto-paper-wash)),url("otto-zeichenpapier-architektur.webp");
}
.site-header {
 background:rgba(var(--otto-header-rgb),var(--glass-header-alpha));
}
.site-footer { background:rgba(var(--otto-footer-rgb),.60); }
.site-nav { --nav-accent:var(--palette-taupe); }
@media(max-width:832px) { .site-nav { background:rgb(var(--otto-header-rgb)); } }
.hero { background-color:var(--palette-taupe); }
.hero .hero-media__wash {
 background:linear-gradient(90deg,
  rgba(var(--otto-hero-rgb),var(--hero-wash-left)) 0%,
  rgba(var(--otto-hero-rgb),calc(var(--hero-wash-left) * .94)) 23%,
  rgba(var(--otto-hero-rgb),var(--hero-wash-mid)) 49%,
  rgba(var(--otto-hero-rgb),var(--hero-wash-right)) 78%,
  rgba(var(--otto-hero-rgb),calc(var(--hero-wash-right) * .93)) 100%);
}
.hero .button--wood {
 background-color:rgba(var(--otto-action-rgb),var(--hero-action-alpha));
 color:var(--otto-on-action); border-color:var(--palette-taupe);
}
.hero .button--wood:hover { background-color:var(--palette-sage); color:var(--ink); }
.hero :is(.button--outline,.video-control,.hero-partner-logo) {
 background-color:rgba(var(--otto-control-rgb),var(--hero-control-alpha));
 border-color:rgba(248,247,242,var(--hero-control-stroke)); color:#faf9f5;
}
.hero :is(.button--outline,.video-control,.hero-partner-logo):hover { background-color:rgb(var(--otto-control-rgb)); }
.hero__copy h1::after,.section-heading h2::after { background:var(--palette-taupe); }
.hero__copy h1::after { background:var(--palette-sage); }
.button--wood, .button--wood:hover { background-image:none; }
.button--wood { background-color:var(--palette-olive); color:var(--ink); }
.button { border-color:var(--frame); }
.button:focus-visible { outline-color:var(--ink); }
.check-icon__box { fill:var(--palette-sage); }
.check-icon,.step-number path { stroke:var(--frame); }
.step-number::before { background:var(--palette-olive); }
.contact-grain { background:var(--palette-olive); }
.customer-band .tile__surface { background:rgba(var(--otto-control-rgb),var(--glass-dark-alpha)); }
.customers-toggle { background:rgba(var(--otto-header-rgb),var(--glass-light-alpha)); }
.customer-band[data-static="true"] .customers-viewport,
.customer-band[data-keyboard="true"] .customers-viewport { scrollbar-color:var(--palette-sage) transparent; }
/* The new dark Metal Rock texture supplies the prominent action tone, with opaque
   text and a controlled dark wash for contrast. Material is an accent, not a wallpaper. */
html[data-otto-palette="bronze"] .tile--sage { --tile-fill:rgba(217,215,210,var(--glass-light-alpha)); }
html[data-otto-palette="bronze"] .tile--sand { --tile-fill:rgba(189,169,148,var(--glass-light-alpha)); }
html[data-otto-palette="bronze"] .tile--moss { --tile-fill:rgba(163,145,128,var(--glass-mid-alpha)); }
html[data-otto-palette="bronze"] .tile--olive { --tile-fill:rgba(35,40,50,var(--glass-dark-alpha)); }
html[data-otto-palette="bronze"] .hero .button--wood,
html[data-otto-palette="bronze"] .button--wood {
 background-image:linear-gradient(90deg,rgba(18,22,28,.52),rgba(18,22,28,.59)),url("otto-metal-rock-anthrazit-textur.webp");
 background-size:cover; background-position:center;
 color:#fffdf8; border-color:#232832;
}
html[data-otto-palette="bronze"] .hero .button--wood:hover,
html[data-otto-palette="bronze"] .button--wood:hover {
 background-image:linear-gradient(90deg,rgba(18,22,28,.72),rgba(18,22,28,.75)),url("otto-metal-rock-anthrazit-textur.webp");
 color:#fffdf8;
}
html[data-otto-palette="bronze"] .tile--moss .tile__surface {
 background-image:linear-gradient(130deg,rgba(221,208,195,.86),rgba(181,158,136,.86)),url("otto-brushed-bronze-textur.webp");
 background-position:center; background-size:cover;
}
/* The original opacity and contrast controls also work with the new metal surfaces. */
html[data-otto-palette="bronze"][data-otto-contrast="more"] .tile--moss .tile__surface,
html[data-otto-palette="bronze"][data-otto-contrast="more"] .button--wood {
 background-image:none;
 background-color:#d9d7d2;
 color:#202329;
}
html[data-otto-palette="bronze"] .step-number::before { background:var(--palette-sage); }
html[data-otto-palette="bronze"] .eyebrow { color:var(--muted); }
html[data-otto-palette="bronze"] .tile--olive h3,
html[data-otto-palette="bronze"] .tile--olive p { color:#f9f5ef; }
html[data-otto-palette="bronze"] .site-nav__link::after { background:var(--accent); }
/* Keep dark surfaces readable at any glass amount; avoid pale ghost text. */
html[data-otto-palette="bronze"] .tile--moss h3,
html[data-otto-palette="bronze"] .tile--moss p { color:#151c23; }
/* Existing appearance panel receives matching fixed colors, never transparency. */
.appearance-dialog { background:var(--otto-dialog-bg); color:var(--ink); border-color:var(--frame); }
.appearance-dialog #appearance-intro,
.appearance-dialog #glass-help,
.appearance-dialog .appearance-scale,
.appearance-dialog .appearance-checkbox small,
.appearance-dialog .appearance-storage { color:var(--muted); }
.appearance-close,.appearance-off { background:var(--palette-sage); border-color:var(--frame); color:var(--ink); }
.appearance-done { background:var(--palette-taupe); border-color:var(--frame); color:var(--ivory); }
.appearance-note { background:var(--palette-sage); border-color:var(--palette-taupe); }
.appearance-checkbox { border-color:var(--rule); }
#glass-level,.appearance-checkbox input { accent-color:var(--palette-taupe); }
.appearance-dialog :is(button,input):focus-visible { outline:2px solid var(--ink); outline-offset:3px; box-shadow:none; }
/* Palette options. Crisp geometry and meaningful focus rings. */
.otto-theme-fieldset { margin:24px 0 4px; padding:18px 0 10px; border:0; border-top:1px solid var(--rule); min-width:0; }
.otto-theme-fieldset legend { padding:0 10px 0 0; color:var(--ink); font:700 16px/1.2 var(--sans,Arial,sans-serif); }
#otto-theme-description { margin:0 0 12px; font-size:12px; line-height:1.5; color:var(--muted); }
.otto-theme-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.otto-theme-choice { min-width:0; display:flex; flex-direction:column; gap:5px; padding:10px; border:1px solid var(--frame); cursor:pointer; background:rgba(255,255,255,.18); position:relative; }
.otto-theme-choice:has(input:checked) { outline:2px solid var(--frame); outline-offset:1px; background:rgba(255,255,255,.55); }
.otto-theme-choice:focus-within { outline:3px solid var(--ink); outline-offset:2px; }
.otto-theme-choice input { accent-color:var(--palette-taupe); width:16px; height:16px; margin:0; }
.otto-theme-mini { display:flex; width:100%; height:24px; border:1px solid rgba(38,35,30,.22); overflow:hidden; }
.otto-theme-mini i { flex:1; min-width:0; height:100%; background:var(--chip); }
.otto-theme-mini .metal-rock-chip { background: center/cover url("otto-metal-rock-anthrazit-textur.webp"); }
.otto-theme-mini .brushed-chip { background: center/cover url("otto-brushed-bronze-textur.webp"); }
.otto-theme-choice__title { font:700 12px/1.3 var(--sans,Arial,sans-serif); }
.otto-theme-choice small { font-size:10px; line-height:1.3; color:var(--muted); }
.otto-theme-auto { display:flex; align-items:flex-start; gap:11px; margin-top:16px; padding:15px 0 4px; cursor:pointer; border-top:1px solid var(--rule); }
.otto-theme-auto input { flex:0 0 20px; width:20px; height:20px; margin:2px 0 0; accent-color:var(--palette-taupe); }
.otto-theme-auto strong { display:block; font-size:13px; line-height:1.4; }
.otto-theme-auto small { display:block; font-size:11px; line-height:1.5; color:var(--muted); margin-top:3px; }
.otto-theme-feedback { font-size:11px !important; margin-top:8px; color:var(--muted); }
html[data-otto-contrast="more"] .otto-theme-choice { background:var(--ivory); }
html[data-otto-contrast="more"] .otto-theme-choice:has(input:checked) { outline-width:3px; }
html[data-otto-contrast="more"] .hero .button--wood,
html[data-otto-contrast="more"] .button--wood { background:var(--palette-sage); color:var(--ink); }
html[data-otto-contrast="more"] .hero .hero-media__wash {
 background:linear-gradient(90deg,rgba(var(--otto-hero-rgb),.98) 0%,rgba(var(--otto-hero-rgb),.95) 56%,rgba(var(--otto-hero-rgb),.72) 100%);
}
@media(max-width:680px) {
 .otto-theme-fieldset { margin-top:20px; }
 .otto-theme-grid { gap:5px; }
 .otto-theme-choice { padding:7px 6px; }
 .otto-theme-choice__title { font-size:11px; }
 .otto-theme-choice small { font-size:9px; }
}
@media(forced-colors:active) {
 .otto-theme-fieldset,.otto-theme-choice { forced-color-adjust:auto; background:Canvas !important; color:CanvasText !important; border-color:CanvasText !important; }
 .otto-theme-choice:has(input:checked) { outline:3px solid Highlight !important; }
}
